<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:hmrSearch="http://java.sun.com/jsf/composite/search">
	


	
	<p:dialog id="findTrainingSystem" header="#{msgs.FindTrainingSystem}"  widgetVar="wfindTrainingSystem" modal="true" style="padding: 0px; margin: 0px;"> 
		<hmrSearch:trainingSystemSearch handler="#{trainingSystemBean.trainingSystemSearchComp}" onSearchComplete="wfindTrainingSystem.hide();" 
			searchUpdate=":listTrainingSystemForm:trainingSystemsTable"	showResultsPanel="false" />
	</p:dialog>


	<p:confirmDialog message="#{msgs.DoYouReallyWantToDeleteThisEntry}"	header="#{msgs.Warning}" severity="alert" widgetVar="wconfExcTrainingSystem">
		<h:form prependId="false">
			<p:commandButton value="#{msgs.Yes}" oncomplete="wconfExcTrainingSystem.hide();"	process="@form" actionListener="#{trainingSystemBean.deleteTrainingSystem}"
				update=":listTrainingSystemForm:trainingSystemsTable, :growl, :content"  />
			<p:commandButton value="#{msgs.No }" onclick="wconfExcTrainingSystem.hide();"	type="button" />
		</h:form>
	</p:confirmDialog>

</html>	